<?php
class LoginBox extends CWidget{
    public function run(){
        $model = new LoginForm;
        $this->render('loginBox', array(
            'model' => $model
        ));
    }
}